package com.itheima.service.impl;

import com.itheima.dao.GoodsDao;
import com.itheima.domain.Goods;
import com.itheima.service.GoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Administrator
 */
@Service
public class GoodsServiceImpl implements GoodsService {

    @Autowired
    private GoodsDao dao;

    @Override
    public Goods findOne(int id) {
        return dao.findOne(id);
    }


}
